bin=a.out
src=main.cpp
lib=add

$(bin):$(src) lib$(lib).a
	g++ $(src) -o $@ -ladd -L . -std=c++11

.PHONY:clean run
clean:
	rm -f $(bin)
run:
	./$(bin)

